// fileName      :  user.go
// createdAt     :  2021-10-23
// description   :	参数验证

package params

// UserLoginParam 用户登录参数
type UserLoginParam struct {
	UserName string `json:"userName" form:"userName" binding:"required"`
	Password string `json:"password" form:"password" binding:"required"`
}

// UserRegisterParam 用户注册参数
type UserRegisterParam struct {
	UserName string `json:"userName" form:"userName" binding:"required"`
	Password string `json:"password" form:"password" binding:"required"`
	Email    string `json:"email" form:"email" binding:"required"`
}
